package com.ruoyi.training.service;

import com.ruoyi.training.domain.TrainPlanCurriculum;

import java.util.List;

/**
 * 培训计划课程关联Service接口
 *
 * @author wng
 * @date 2024-08-04
 */
public interface ITrainPlanCurriculumService {
    /**
     * 查询培训计划课程关联
     *
     * @param id 培训计划课程关联主键
     * @return 培训计划课程关联
     */
    public TrainPlanCurriculum selectTrainPlanCurriculumById(Long id);

    /**
     * 查询培训计划课程关联列表
     *
     * @param trainPlanCurriculum 培训计划课程关联
     * @return 培训计划课程关联集合
     */
    public List<TrainPlanCurriculum> selectTrainPlanCurriculumList(TrainPlanCurriculum trainPlanCurriculum);

    /**
     * 新增培训计划课程关联
     *
     * @param trainPlanCurriculum 培训计划课程关联
     * @return 结果
     */
    public int insertTrainPlanCurriculum(TrainPlanCurriculum trainPlanCurriculum);

    /**
     * 修改培训计划课程关联
     *
     * @param trainPlanCurriculum 培训计划课程关联
     * @return 结果
     */
    public int updateTrainPlanCurriculum(TrainPlanCurriculum trainPlanCurriculum);

    /**
     * 批量删除培训计划课程关联
     *
     * @param ids 需要删除的培训计划课程关联主键集合
     * @return 结果
     */
    public int deleteTrainPlanCurriculumByIds(Long[] ids);

    /**
     * 删除培训计划课程关联信息
     *
     * @param id 培训计划课程关联主键
     * @return 结果
     */
    public int deleteTrainPlanCurriculumById(Long id);
}
